/*
 * TotalsTableCellRenderer.java
 *
 * Created on October 22, 2004, 1:06 PM
 */

package net.jwtools.tmt.ui.renderer;

import java.awt.Component;

import javax.swing.JTable;

import com.l2fprod.common.swing.renderer.DefaultCellRenderer;

/**
 *
 * @author  Mesuti
 */
public class ToolTipTableCellRenderer extends DefaultCellRenderer {
    
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
        super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
        setToolTipText( value.toString() );
        return this;
    }
    
}
